workspace "PuzzleGame"
	configurations { "Debug", "Release" }
	platforms {"Win32", "Win64"}
	startproject "Puzzle"
	characterset ("ASCII")

project "Puzzle"
	location "Puzzle/"
	kind "consoleApp"
	language "C++"
	cppdialect "C++17"
	systemversion "latest"
	staticruntime "on"

	outputdir = "%{cfg.system}-%{cfg.buildcfg}-%{cfg.architecture}"

	   objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
	targetdir ("bin/" .. outputdir .. "/%{prj.name}")

	files
	{
		"%{prj.name}/src/**.cpp",
		"%{prj.name}/src/**.h"
	}

	includedirs
	{
		"vendor/easyx/include"
	}

	links
	{
		"Msimg32.lib"
	}

	filter "platforms:Win32" 

		architecture "x86"
		links
		{
			"vendor/easyx/lib/x86/*.lib"
		}

	filter "platforms:Win64"

		architecture "x86_64"
		links
		{
			"vendor/easyx/lib/x64/*.lib"
		}